home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 3
/
Info_Mac_1994-01.iso
/
Development
/
General
/
GCC 1.37.1r15
/
Tests
/
raw.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-01-03
|
293b
|
23 lines
struct Point {
short v;
short h;
};
typedef struct Point Point;
pascal void GlobalToLocal(Point *pt, Point *pt1, Point *pt2, Point *pt3)
= 0xA871;
Point glob;
Point ToLocal(Point pt)
{
GlobalToLocal(&pt, &glob, &glob, &glob);
return pt;
}
main()
{
glob = ToLocal(glob);
}